package com.aspose.cells;

class zbpb extends zbph {
   protected double[] a;
   protected int b = 0;

   public zbpb(int var1, boolean var2, boolean var3, boolean var4) {
      super(var2, var3, var4);
      this.a = new double[var1];
   }

   double[] d() {
      return this.a;
   }

   int e() {
      return this.b;
   }

   public zagu a() {
      return null;
   }

   protected boolean b() {
      return false;
   }

   protected zagu c() {
      return this.a(0.0D);
   }

   protected zagu a(int var1) {
      return this.a(0.0D, var1);
   }

   protected zagu a(double var1) {
      if (this.b == this.a.length) {
         double[] var3 = new double[this.b + Math.max(32, this.b >> 1)];
         System.arraycopy(this.a, 0, var3, 0, this.b);
         this.a = var3;
      }

      this.a[this.b] = var1;
      ++this.b;
      return null;
   }

   protected zagu a(double var1, int var3) {
      if (this.b + var3 > this.a.length) {
         double[] var4 = new double[this.b + Math.max(var3, Math.max(32, this.b >> 1))];
         System.arraycopy(this.a, 0, var4, 0, this.b);
         this.a = var4;
      }

      if (var3 > 1) {
         com.aspose.cells.a.c.zc.a(this.a, this.b, this.b + var3, var1);
         this.b += var3;
      } else {
         this.a[this.b] = var1;
         ++this.b;
      }

      return null;
   }
}
